Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve permalink on thread root message #5594

Merged

Conversation

ariskotsomitopoulos
Copy link
Contributor

Permalinks to root thread messages will now navigate the user within the thread timeline

Closes #5567

@github-actions
Copy link

Unit Test Results

106 files  ±0  106 suites  ±0   1m 7s ⏱️ -9s
188 tests ±0  188 ✔️ ±0  0 💤 ±0  0 ±0 
622 runs  ±0  622 ✔️ ±0  0 💤 ±0  0 ±0 

Results for commit 0479049. ± Comparison against base commit ea9c9ae.

@ariskotsomitopoulos ariskotsomitopoulos requested a review from a team March 30, 2022 08:51
Copy link
Member

@bmarty bmarty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. The code miss a bit of documentation, especially about the param rootThreadEventId of openJoinedRoomScreen. Could be nice to now the effect if its null, if it's not null, etc.

eventId
} else {
null
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand the code and it should work, hence it's a bit confusing to have multiple declaration of val rootThreadEventId. Not a blocker anyway.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True, I could use another naming convention

@ariskotsomitopoulos ariskotsomitopoulos merged commit d484ba0 into develop Apr 5, 2022
@ariskotsomitopoulos ariskotsomitopoulos deleted the feature/aris/thread_root_permalink_navigation branch April 5, 2022 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Following a link to a thread takes the user to the timeline
2 participants